var User = {
    queryUserName(param) {
        return `select * from user where phone = '${param.userName}'`;
    },
    queryUserPwd(param) {
        return `select * from user where phone = '${param.userName}' and password = '${param.userPwd}'`;
    },
    queryUserInfo(param) {
        return `select username, birthday, phone, sex from user where phone = '${param.phone}'`;
    }
}

exports=module.exports=User;